iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

MappedStatement.ExecuteQueryForList Method (ISqlMapSession, Object)

Executes the SQL and retuns all rows selected. This is exactly the same as calling ExecuteQueryForList(session, parameterObject, NO_SKIPPED_RESULTS, NO_MAXIMUM_RESULTS).

[Visual Basic]
Overridable Overloads Public Function ExecuteQueryForList( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As IList{``0} _
    Implements IMappedStatement.
[C#]
public virtual IList<T> <T>ExecuteQueryForList(
   ISqlMapSession session,
   Object parameterObject
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.

Return Value

A List of result objects.

Implements

IMappedStatement.

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace | MappedStatement.ExecuteQueryForList Overload List